
Component({
  properties: {
    backgroundArr: {
      type: Array
    },
    imgHigth: {
      type:String
    }
  },
  data: {
    // 轮播图
    swiperNum: 0,
    autoplay: false,
    interval: 3000,
    activColor: "#ff0",
    indicatorColor: "white",
    autoplay: true,
    
  },
  methods:{
    //轮播图自定义指示点
  swiperFn(e){
    this.setData({
      swiperNum: e.detail.current
    })
  }
  }

})